@import "@library/app/automatic/theme.scss";
.tableFormSelect {
  width: 200px !important;
}
.iconSize {
  font-size: 20px !important;
}
.bpmnContent {
  height: 100%;
}

.variable {
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    display: flex; 
    margin-bottom: 10px;
    align-items: center;

    input {
      margin-right: 8px;
    }

    :global(.ant-select) {
      margin-right: 8px;
    }

    span:first-child {
      margin-right: 8px;
    }
  }

  .variableIcon {
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 50%;
    border: solid 1px $primary-color;
    margin-right: 8px;
    color: $primary-color;
    cursor: pointer;
  }
}

.resetCollapse {
  :global(.ant-collapse-header) {
    background: #F9F9F9;
  }

  :global(.ant-collapse) {
    margin-bottom: 16px;
    border: 0 !important;
    background: none !important;
  }

  :global(.ant-collapse-item) {
    border-bottom: 0 !important;
  }

  :global(.ant-collapse-content) {
    border-top: 0 !important;
  }

  :global(.ant-collapse-content > .ant-collapse-content-box) {
    padding: 0;
  }
}

.userTask {
  .field {
    display: flex;
    justify-content: space-between;
    height: 32px;
    padding: 15px;
    align-items: center;
    text-indent: 25px;
    margin: 0;

    span:first-child {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      flex: 1;
    }

    .delaction {
      display: none;
      color: #E71616;
      cursor: pointer;
    }
    
    &:hover {
      background: #F9F9F9;
      .delaction {
        display: block;
      }
    }
  }
  
  .addBtn {
    color: #0079FF;
  }
}


.pageSetList {
  padding: 0;

  li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 8px 16px 0 16px;
    background: #F9F9F9;
  }

  p {
    margin-bottom: 0;
  }

  span {
    display: block;
  }

  .selectAttr {
    color: $primary-color;
    font-size: 12px;
  }

  .pageSetDesc {
    color: #999;
  }
}

.actionSet {
  padding: 0;


  :global(.ant-checkbox-wrapper){
     span{
      padding-right: 0;
     }
  }

  li {
    display: flex;
    // align-items: center;
    margin-bottom: 8px;
  }

  .action {
    width: 100px;
  }

  input, button {
    margin-right: 10px;
  }
}

.dividingLine {
  height: 1px;
  margin: 20px 0;
  background: #EEE;
}

.scroll {
  display: flex;
  flex-direction: column;
  height: 100%;

  :global(.ant-tabs) {
    padding: 0 10px;
  }
  
  main {
    flex: 1;
    height: 0;
    overflow-y: scroll;
    padding: 16px;
    padding-top: 0;
  }
}


.antdFormItemRow {
  
  flex-direction: row !important;
  align-items: center;

  :global(.ant-form-item-label){
    line-height: 32px;
    padding: 0 !important;
  }

  :global(.ant-form-item-control-input-content ){
    text-align: right;
  }

}